package com.test.spring.fusion.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.test.spring.fusion.service.ProducersService;
@RestController
public class ProducersController {
	
	@Autowired
	private ProducersService producersService;
	
	@GetMapping("saveProducers")
	public String saveProducers() {
		producersService.saveProducers();
		return "ok";
	}
}
